<template>
  <div class="popup-detail">
    <el-row :gutter="20">
      <el-col :span="12">
        <el-row>
          <el-col :span="24">
            <span class="label">访客姓名:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
          <el-col :span="24">
            <span class="label">联系方式:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
          <el-col :span="24">
            <span class="label">访问单位:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
          <el-col :span="24">
            <span class="label">访问人员:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
          <el-col :span="24">
            <span class="label">访问区域:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
          <el-col :span="24">
            <span class="label">入园时间:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
          <el-col :span="24">
            <span class="label">出园时间:</span>
            <span class="value">{{ form.name }}</span>
          </el-col>
        </el-row>
      </el-col>
      <el-col :span="12">
        <el-image
          class="table-img"
          fit="cover"
          :preview-src-list="[form.fileUrl]"
          preview-teleported
          :src="form.fileUrl"
        />
      </el-col>
    </el-row>
  </div>
</template>
<script setup>
import { ref } from 'vue'
const form = ref({})
</script>
<style lang="scss" scoped>
.popup-detail {
  width: 324px;
  // height: 166px;
  background: #ffffff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 10px 20px;
  .el-col {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .label {
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    line-height: 20px;
    display: inline-block;
    margin-right: 10px;
    text-align: right;
  }
  .value {
    flex: 1;
    display: inline-block;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #757575;
  }
  .table-img {
    width: 156px;
    height: 160px;
  }
}
</style>
